(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    ["common/main"], {
        "26ce": function (e, t, n) {
            "use strict";
            var o = n("e245"),
                a = n.n(o);
            a.a
        },
        "3a27": function (e, t, n) {
            "use strict";
            (function (e, t) {
                var o = n("4ea4"),
                    a = o(n("9523"));
                n("c150"), n("5c17"), n("a9ff");
                var c = o(n("66fd")),
                    u = o(n("bfa9"));

                function r(e, t) {
                    var n = Object.keys(e);
                    if (Object.getOwnPropertySymbols) {
                        var o = Object.getOwnPropertySymbols(e);
                        t && (o = o.filter((function (t) {
                            return Object.getOwnPropertyDescriptor(e, t).enumerable
                        }))), n.push.apply(n, o)
                    }
                    return n
                }
                e.__webpack_require_UNI_MP_PLUGIN__ = n, c.default.config.productionTip = !1, u.default.mpType = "app";
                var i = new c.default(function (e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var n = null != arguments[t] ? arguments[t] : {};
                        t % 2 ? r(Object(n), !0).forEach((function (t) {
                            (0, a.default)(e, t, n[t])
                        })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r(Object(n)).forEach((function (t) {
                            Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
                        }))
                    }
                    return e
                }({}, u.default));
                t(i).$mount()
            }).call(this, n("bc2e")["default"], n("543d")["createApp"])
        },
        "4a86": function (e, t, n) {
            "use strict";
            n.r(t);
            var o = n("5112"),
                a = n.n(o);
            for (var c in o)["default"].indexOf(c) < 0 && function (e) {
                n.d(t, e, (function () {
                    return o[e]
                }))
            }(c);
            t["default"] = a.a
        },
        5112: function (e, t, n) {
            "use strict";
            (function (e, o) {
                var a = n("4ea4");
                Object.defineProperty(t, "__esModule", {
                    value: !0
                }), t.default = void 0;
                var c, u = a(n("9523")),
                    r = (n("26cb"), c = { 
                        globalData: {
                            userinfo: [],
                            WXLOGINCID:"",
                            WXCODE:"",
                            apiurl: "https://htjc.mec-cloud.cn:8800/",
                            getId: function () {
                                for (var e = (new Date).getFullYear(), t = (new Date).getMonth() + 1, n = (new Date).getDate(), o = (new Date).getHours(), a = (new Date).getMinutes() < 10 ? "0" + (new Date).getMinutes() : (new Date).getMinutes(), c = (new Date).getSeconds() < 10 ? "0" + (new Date).getSeconds() : (new Date).getSeconds(), u = "", r = 0; r < 10; r++) u += Math.floor(10 * Math.random());
                                return "ID_" + e + t + n + o + a + c + u
                            },
                            appPushInfo: function (t, n, a, c, u, r) {
                                var i;
                                console.log("通知类型：" + t), "业务员提交审批" == t && e.request({
                                    method: "GET",
                                    url: getApp().globalData.apiurl + "zrwjMessage/getCID",
                                    data: {
                                        userName: n,
                                        userKEY: null
                                    },
                                    success: function (e) {
                                        i = e.data.USERCID, i.forEach((function (e) {
                                            new Promise((function (t) {
                                                console.log("通知人的item：" + e);
                                                var n = r;
                                                o.callFunction({
                                                    name: "uni-ssr",
                                                    data: {
                                                        item: e,
                                                        title: a,
                                                        content: c,
                                                        data: u,
                                                        request_id: n
                                                    },
                                                    sslVerify: !1
                                                }).then((function (e) {
                                                    t(e.success)
                                                })).catch((function () {
                                                    t(!1)
                                                }))
                                            }))
                                        }))
                                    }
                                }), "审批角色通知提交人" == t && e.request({
                                    method: "GET",
                                    url: getApp().globalData.apiurl + "zrwjMessage/getCID",
                                    data: {
                                        userName: null,
                                        userKEY: n
                                    },
                                    success: function (e) {
                                        return i = e.data.USERCID, new Promise((function (e) {
                                            console.log("通知人的cid：" + i);
                                            var t = r;
                                            o.callFunction({
                                                name: "uni-ssr",
                                                data: {
                                                    cids: i,
                                                    title: a,
                                                    content: c,
                                                    data: u,
                                                    request_id: t
                                                },
                                                sslVerify: !1
                                            }).then((function (t) {
                                                e(t.success)
                                            })).catch((function () {
                                                e(!1)
                                            }))
                                        }))
                                    }
                                }), "审批角色通知库房人员" == t && e.request({
                                    method: "GET",
                                    url: getApp().globalData.apiurl + "zrwjMessage/getCID",
                                    data: {
                                        userName: n,
                                        userKEY: null
                                    },
                                    success: function (e) {
                                        i = e.data.USERCID, i.forEach((function (e) {
                                            new Promise((function (t) {
                                                console.log("通知人的item：" + e);
                                                var n = r;
                                                o.callFunction({
                                                    name: "uni-ssr",
                                                    data: {
                                                        item: e,
                                                        title: a,
                                                        content: c,
                                                        data: u,
                                                        request_id: n
                                                    },
                                                    sslVerify: !1
                                                }).then((function (e) {
                                                    t(e.success)
                                                })).catch((function () {
                                                    t(!1)
                                                }))
                                            }))
                                        }))
                                    }
                                })
                            }
                        },
                        onLaunch: function () {
                            console.log("app onLaunch"), e.onPushMessage((function (e) {
                                console.log("收到推送消息：", e)
                            }))
                        },
                        onShow: function () {
                            console.log("app show")
                        },
                        onHide: function () {
                            console.log("app hide")
                        },
                        methods: {}
                    }, (0, u.default)(c, "onLaunch", (function () {})), (0, u.default)(c, "onShow", (function () {})), (0, u.default)(c, "onHide", (function () {})), c);
                t.default = r
            }).call(this, n("543d")["default"], n("a9ff")["default"])
        },
        "7cf3": function (e, t, n) {},
        bfa9: function (e, t, n) {
            "use strict";
            n.r(t);
            var o = n("4a86");
            for (var a in o)["default"].indexOf(a) < 0 && function (e) {
                n.d(t, e, (function () {
                    return o[e]
                }))
            }(a);
            n("26ce"), n("c80d");
            var c = n("f0c5"),
                u = Object(c["a"])(o["default"], void 0, void 0, !1, null, null, null, !1, void 0, void 0);
            t["default"] = u.exports
        },
        c80d: function (e, t, n) {
            "use strict";
            var o = n("7cf3"),
                a = n.n(o);
            a.a
        },
        e245: function (e, t, n) {}
    },
    [
        ["3a27", "common/runtime", "common/vendor"]
    ]
]);